package com.briup.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.cms.domain.Comment;
import com.briup.cms.domain.Subcomment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.cms.domain.param.CommentQueryParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author briup
 * @since 2023-03-09
 */
public interface ISubcommentService {
    public void addSubComment(Subcomment subcomment);
    public void deleteById(Long id);
    public List<Subcomment> queryByParentId(Long parentId);
    public IPage<Subcomment> query(CommentQueryParam param);
}
